package reflectiondemo;

import java.lang.reflect.Method;

public class ReflectionDemo {
    public static void main(String[] args) throws ClassNotFoundException {
        Object obj = new Object();
        System.out.println(Object.class);
        Class clazz = obj.getClass();
//        Class.forName("com.db.Employee");

        clazz.getFields();
        for(Method m : clazz.getMethods()) {
            System.out.println(m.getName());
        }

        //Virtual Proxy
        //Byte code manipulation: ASM + JavaAssist
    }
}
